import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import "./index.css";
import "antd/dist/antd.css"; //antd组件
import { HashRouter } from "react-router-dom"; //引入路由

ReactDOM.createRoot(document.getElementById("root")).render(
  <React.StrictMode>
    {/* 注入路由 */}
    <HashRouter>
      <App />
    </HashRouter>
  </React.StrictMode>
);
